ERROR_OPENING_PORT = '''
There was an error opening the serial port: %s

Please check the system for the correct port to use or make sure the USB
serial cable is connected.

If you want to specify the port name or number do so below, otherwise leave
the line empty and press [Enter] to quit...
'''

CLI_UPDATE_STRING = 'W_%.3f : L_%.3f -> A_%.3f    | Area sum %.3f cm\xc2\xb2'

USAGE = '''
CLAMS: Caliper-assisted Leaf Area Measuring System %s
Copyright \xc2\xa9 2008, 2009 Dami\xc3\xa1n Cirelli.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Usage: python clams.py [options [arguments]]

Options:
  -h, --help            Display this message.

  -f, --file file       File where measurements are to be saved, if none is
                        specified   only   the   temporary  file   in   the
                        recovery_files/ directory will be used.

  -p, --port port       Serial  port  to  use  for the  electronic caliper.
                        Default is /dev/ttyUSB0

  -l, --leaf n          Leaf  number  (n)  from  which  to  start counting.
                        If none is specified and the  -f option is present,
                        the  leaf  number  will  begin  as  the  last  leaf
                        measured in the last run.


Report bugs to: <damian DOT cirelli AT g m a i l DOT com>
CLAMS home page: <http://www.gnu.org/software/pkg/>
'''

VERSION = '''
CLAMS: Caliper-assisted Leaf Area Measuring System version %s

Copyright \xc2\xa9 2008, 2009 Dami\xc3\xa1n Cirelli.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
'''
